<link rel="stylesheet" type="text/css" href="<?php echo $css_url; ?>categories.css" />

<div class="categories-block">
	<div class="categories-block-real">
		<div class="content">
			<ul>
				<?php foreach($links as $k => $link): ?>
					<li class="fleft">
						<a class="<?php echo ($k === 'active')? 'active' : ''; ?>" href="<?php echo $link['href']; ?>"><?php echo $link['text']; ?></a>
					</li>
				<?php endforeach; ?>
			</ul>
		</div>
	</div>
</div>